<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title>Document</title>
    <style></style>
  </head>
  <body>
    <div>
      <p>编程式导航</p>
      <p>this.$router</p>
      <p>push会记录历史</p>
      <p>replace不会记录历史记录</p>
      <p>go跳转到历史记录位置</p>
      <p>传参：this.$router.push({name:'路径',params:{id:1}})</p>
      <p>this.$router.push({path:'路径',query:{id:1}})</p>
    </div>
    <script></script>
  </body>
</html>
